package com.luzhikun.myshopping.dao;

import com.luzhikun.myshopping.domaim.Product;

import java.util.List;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
public interface ProductDao {

    public List<Product> selectAllProduct(int pageNow,int pageCount);

    boolean delectProductById(String pid);

    boolean addProduct(Product product);

    Product selectOneProduct(String pid);

    int selectCount();
}
